/**
 * chenxitech.cn Inc.
 * Copyright (c) 2017-2017 All Rights Reserved.
 */
package com.zsc.ssm.service;

/**
 * @author jasonzhu
 * @version $Id: UserService.java, v 0.1 2017-06-05 15:00 jasonzhu Exp $$
 */

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.zsc.ssm.dao.UserMapper;
import com.zsc.ssm.model.User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * User 表数据服务层接口实现类
 */
@Service
public class UserService extends ServiceImpl<UserMapper, User> {

    @Resource
    private UserMapper userMapper;

    public Page<User> selectUserPage(Page<User> page, String state) {
        page.setRecords(userMapper.selectUserList(page, state));
        return page;
    }

    public List<User> selectList(EntityWrapper ew) {
        return null;
    }
}